package studentsGA;

import java.util.ArrayList;

public class Student {

	private int id;
	private float score;
	private ArrayList<Integer> disowned;
	
	public Student(int id, float score, ArrayList<Integer> disowned){
		this.id = id;
		this.score = score;
		this.disowned = disowned;
	}
	
	public void addDisowned(int i){
		disowned.add(i);
	}
	
	/**------------------- Getters & Setters -------------------**/
	public void setId(int id) {
		this.id = id;
	}
	public int getId() {
		return id;
	}
	public void setScore(float score) {
		this.score = score;
	}
	public float getScore() {
		return score;
	}
	public void setDisowned(ArrayList<Integer> disowned) {
		this.disowned = disowned;
	}
	public ArrayList<Integer> getDisowned() {
		return disowned;
	}
	
	
}
